﻿namespace HRM.CORE.REPORT
{
    using DevExpress.XtraEditors;
    using System; using Extra.ERP;
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms; using Common;

    public class xfmOptionPrintEmployee : XtraForm
    {
        private IContainer components;

        public xfmOptionPrintEmployee()
        {
            this.components = null;
            this.InitializeComponent();
        }

        public xfmOptionPrintEmployee(int Level, string Code, string EmployeeCode)
        {
            this.components = null;
            this.InitializeComponent();
            xucOptionPrintEmployee employee = new xucOptionPrintEmployee(Level, Code, EmployeeCode) {
                Dock = DockStyle.Fill
            };
            base.Controls.Add(employee);
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void InitializeComponent()
        {
            base.SuspendLayout();
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            base.AutoScaleMode = AutoScaleMode.Font;
            base.ClientSize = new Size(0x2b5, 0x18d);
            base.FormBorderStyle = FormBorderStyle.FixedSingle;
            base.MaximizeBox = false;
            base.MinimizeBox = false;
            base.Name = "xfmOptionPrintEmployee";
            base.ShowIcon = false;
            base.ShowInTaskbar = false;
            base.StartPosition = FormStartPosition.CenterScreen;
            this.Text = "T\x00f9y Chọn In";
            base.ResumeLayout(false);
        }
    }
}

